Error Web With Code 520

Hi, I got error
520: Web server is returning an unknown error . After diagnosed, error caused I gave token at header authorization.

This is example for token eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczpcL1wvZGVtb29ubGluZXBvc2FwaS5hbHZpbmpvaGFuLmVzXC9hcGlcL2F1dGhcL2xvZ2luIiwiaWF0IjoxNjY3NDc4MjAwLCJleHAiOjE2Njc0ODE4MDAsIm5iZiI6MTY2NzQ3ODIwMCwianRpIjoiMjczdzRVTXhuQTZ6TnZzdyIsInN1YiI6IjI2Y2Q2YjFhLTU2OWItMTFlZC1iMWVkLTY2ZjJjMzZlNWUzYiIsInBydiI6Ijg3ZTBhZjFlZjlmZDE1ODEyZmRlYzk3MTUzYTE0ZTBiMDQ3NTQ2YWEiLCJ1c2VyIjp7ImlkIjoiMjZjZDZiMWEtNTY5Yi0xMWVkLWIxZWQtNjZmMmMzNmU1ZTNiIiwibmFtZSI6IkFkbWluIiwiZW1haWwiOiJhZG1pbkBzeXN0ZW0uY29tIiwidXNlcm5hbWUiOiJhZG1pbiIsInJvbGUiOiJBZG1pbiIsInBlcm1pc3Npb24iOlt7ImNvZGUiOiJkYXNoYm9hcmQiLCJuYW1lIjoiRGFzaGJvYXJkIiwicGVybWlzc2lvbiI6eyJyZWFkIjp0cnVlLCJjcmVhdGUiOnRydWUsImRlbGV0ZSI6dHJ1ZSwidXBkYXRlIjp0cnVlfX0seyJjb2RlIjoiYnJhbmQiLCJuYW1lIjoiQnJhbmQiLCJwZXJtaXNzaW9uIjp7InJlYWQiOnRydWUsImNyZWF0ZSI6dHJ1ZSwiZGVsZXRlIjp0cnVlLCJ1cGRhdGUiOnRydWV9fSx7ImNvZGUiOiJjYXRlZ29yeSIsIm5hbWUiOiJDYXRlZ29yeSIsInBlcm1pc3Npb24iOnsicmVhZCI6dHJ1ZSwiY3JlYXRlIjp0cnVlLCJkZWxldGUiOnRydWUsInVwZGF0ZSI6dHJ1ZX19LHsiY29kZSI6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Jtb2R1bGUiLCJuYW1lIjoiTW9kdWxlIiwicGVybWlzc2lvbiI6eyJyZWFkIjp0cnVlLCJjcmVhdGUiOnRydWUsImRlbGV0ZSI6dHJ1ZSwidXBkYXRlIjp0cnVlfX0seyJjb2RlIjoicHJvZHVjdC5vcG5hbWUiLCJuYW1lIjoiUHJvZHVjdCBPcG5hbWUiLCJwZXJtaXNzaW9uIjp7InJlYWQiOnRydWUsImNyZWF0ZSI6dHJ1ZSwiZGVsZXRlIjp0cnVlLCJ1cGRhdGUiOnRydWV9fSx7ImNvZGUiOiJkYXNoYm9hcmQuc3RvY2sudmFsdWUiLCJuYW1lIjoiRGFzaGJvYXJkIFN0b2NrIFZhbHVlIiwicGVybWlzc2lvbiI6eyJyZWFkIjp0cnVlLCJjcmVhdGUiOnRydWUsImRlbGV0ZSI6dHJ1ZSwidXBkYXRlIjp0cnVlfX0seyJjb2RlIjoicHJvZHVjdC5iZXN0c2VsbGVyIiwibmFtZSI6IlByb2R1Y3QgQmVzdCBTZWxsZXIiLCJwZXJtaXNzaW9uIjp7InJlYWQiOnRydWUsImNyZWF0ZSI6dHJ1ZSwiZGVsZXRlIjp0cnVlLCJ1cGRhdGUiOnRydWV9fV19fQ.lWewVXqXwGq-beq-W6ZUVvi8HXoNJooWmaOrKNYNyNc

After checking at https://toolbox.googleapps.com/apps/har_analyzer/ my header is around 6.5kb if I send with auth (then error), and with the same url without token 684 bytes (then succeed). Both do not have cookies. Everything is just fine with API if I use flexible. But If I change to full or strict, an error happens. I follow every step and suggestion with googling but not work at all. Please help

Have you looked at the Error 520 Community Tip on the #tutorial section?

Hi buddy, I already look, read and follow every step at forum and no one work. I diagnosed it’s because request header, but Cloudflare tell header size limit is 7 or on some article I read 16kb, and I just send 6.5kb. And as I say 684 bytes in header make my request work

No update for this problem?

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.