# Error Code 1020

**URL:** <https://devforum.zoom.us/t/error-code-1020/78374>\
**Category:** API and Webhooks\
**Tags:** api\
**Created:** [November 6, 2022, 3:58pm UTC](https://devforum.zoom.us/t/error-code-1020/78374 "2022-11-06T15:58:39Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![BetterMynd](https://avatars.discourse-cdn.com/v4/letter/b/278dde/32.png) [@BetterMynd](https://devforum.zoom.us/u/BetterMynd)\
**Post date:** [November 6, 2022, 3:58pm UTC](https://devforum.zoom.us/t/error-code-1020/78374/1 "2022-11-06T15:58:39Z")

</div>

**Description**  
_Details on your question, workflow or the problem you’re trying to solve._  
Getting 403 Forbidden, Error Code 1020 on calls using valid JWT auth tokens. Only occurring on some AWS services. Using the same JWT token on other services/machines making the same calls works with no issues.

I don’t even see the failed requests in my development call logs.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/c/d/cd77146f7616290a0cac57998cb917290b53b714.png)

These services have been running working and unchanged for several months.

**Error?**  
error Code: 1020

---

<div class="post-metadata">

**Author:** ![MelisaB](https://avatars.discourse-cdn.com/v4/letter/m/c67d28/32.png) [@MelisaB](https://devforum.zoom.us/u/MelisaB)\
**Post date:** [November 6, 2022, 9:26pm UTC](https://devforum.zoom.us/t/error-code-1020/78374/2 "2022-11-06T21:26:20Z")

</div>

Hi @tommy ,

We are facing the same problem of getting status code Forbidden with `error code: 1020` from Zoom API.

Could you please take a look at what is causing the problem as it is an urgent situation because our services cannot use the Zoom API and it is causing huge problems in our system at this moment.

Thanks.

---

<div class="post-metadata">

**Author:** ![seshandrew](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/seshandrew/32/33489_2.png) [@seshandrew](https://devforum.zoom.us/u/seshandrew)\
**Post date:** [November 6, 2022, 11:40pm UTC](https://devforum.zoom.us/t/error-code-1020/78374/3 "2022-11-06T23:40:02Z")

</div>

We’re also seeing this – from docker inside codespaces (I’m not sure if those are hosted at aws).

```auto
Response: GET /v2/users/me HTTP/1.1
 Host: api.zoom.us
 User-Agent: Go-http-client/1.1
 Transfer-Encoding: chunked
 Authorization: Bearer <<OUR_VALID_ACCESS_TOKEN>>
 Accept-Encoding: gzip
 
 =================================
 
 HTTP/1.1 403 Forbidden
 Content-Length: 16
 Alt-Svc: h3=":443"; ma=86400, h3-29=":443"; ma=86400
 Cache-Control: private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0
 Cf-Ray: 7661a368fad2c4cf-SEA
 Connection: keep-alive
 Content-Type: text/plain; charset=UTF-8
 Date: Sun, 06 Nov 2022 23:34:10 GMT
 Expires: Thu, 01 Jan 1970 00:00:01 GMT
 Nel: {"success_fraction":0.01,"report_to":"cf-nel","max_age":604800}
 Referrer-Policy: same-origin
 Report-To: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=nwKfj7Tcfasbxo%2FVbnDd%2BUgjXADM85Iw5HtIHOWUJIL86yetR6g6y%2BRDb%2B%2FNEHfCPWCM4Ztt8db2wNOF9i1UzRVSQlH3SHpo0F2s8vTF8wCYnMQYkV5VsDPkAUiy"}],"group":"cf-nel","max_age":604800}
 Server: cloudflare
 Set-Cookie: __cf_bm=CFNvWjKM2YZwXCxFUDz4BktB5s8eWO92i_3Y5mYW7xk-1667777650-0-AYQ2z/e8uNlxgkGh9lomkFN560fzBOAx+IBdbx4hfep0SdLwoTq7ZKXDugMxgChdrTT6IzHwuOh6kD9zFnBpZGQ=; path=/; expires=Mon, 07-Nov-22 00:04:10 GMT; domain=.zoom.us; HttpOnly; Secure; SameSite=None
 Vary: Accept-Encoding
 X-Frame-Options: SAMEORIGIN
 
 error code: 1020

```

---

<div class="post-metadata">

**Author:** ![zachapi](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/zachapi/32/42796_2.png) [@zachapi](https://devforum.zoom.us/u/zachapi)\
**Post date:** [November 7, 2022, 12:13am UTC](https://devforum.zoom.us/t/error-code-1020/78374/4 "2022-11-07T00:13:03Z")

</div>

We’re also seeing the 1020 error when making requests from Go. We’ve tried the same headers and token from Postman and JS, which work correctly.

I’m not sure why this would be the case, but could this be related to some change made with the SDK mandatory upgrade?

---

<div class="post-metadata">

**Author:** ![nalin.garg](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nalin.garg/32/40004_2.png) [@nalin.garg](https://devforum.zoom.us/u/nalin.garg)\
**Post date:** [November 7, 2022, 2:43am UTC](https://devforum.zoom.us/t/error-code-1020/78374/5 "2022-11-07T02:43:45Z")

</div>

We have also been facing exactly the same issues since last 18 hours. There has been no response from zoom support. It is creating a big production impact for us.

---

<div class="post-metadata">

**Author:** ![nalin.garg](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nalin.garg/32/40004_2.png) [@nalin.garg](https://devforum.zoom.us/u/nalin.garg)\
**Post date:** [November 7, 2022, 9:33am UTC](https://devforum.zoom.us/t/error-code-1020/78374/6 "2022-11-07T09:33:04Z")

</div>

Issue seems to be have been resolved for us now. Yet to hear back on the root cause

---

<div class="post-metadata">

**Author:** ![BetterMynd](https://avatars.discourse-cdn.com/v4/letter/b/278dde/32.png) [@BetterMynd](https://devforum.zoom.us/u/BetterMynd)\
**Post date:** [November 7, 2022, 2:40pm UTC](https://devforum.zoom.us/t/error-code-1020/78374/7 "2022-11-07T14:40:18Z")

</div>

Issue looks resolved on our end, but we would also like a root cause.

---

<div class="post-metadata">

**Author:** ![seshandrew](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/seshandrew/32/33489_2.png) [@seshandrew](https://devforum.zoom.us/u/seshandrew)\
**Post date:** [November 7, 2022, 4:05pm UTC](https://devforum.zoom.us/t/error-code-1020/78374/8 "2022-11-07T16:05:39Z")

</div>

This is still an issue making requests from go.

---

<div class="post-metadata">

**Author:** ![seshandrew](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/seshandrew/32/33489_2.png) [@seshandrew](https://devforum.zoom.us/u/seshandrew)\
**Post date:** [November 7, 2022, 4:14pm UTC](https://devforum.zoom.us/t/error-code-1020/78374/9 "2022-11-07T16:14:02Z")

</div>

Update: this looks to be a cloudflare firewall issue that zoom has configured (based on the HTML page returned when we add `Accept: */*` to the headers.

[https://support.cloudflare.com/hc/en-us/articles/360029779472-Troubleshooting-Cloudflare-1XXX-errors?utm\_source=1020\_error#error1020](https://support.cloudflare.com/hc/en-us/articles/360029779472-Troubleshooting-Cloudflare-1XXX-errors?utm_source=1020_error#error1020)

The ray ID is `766759ae4ef7c37c`

---

<div class="post-metadata">

**Author:** ![zachapi](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/zachapi/32/42796_2.png) [@zachapi](https://devforum.zoom.us/u/zachapi)\
**Post date:** [November 7, 2022, 4:44pm UTC](https://devforum.zoom.us/t/error-code-1020/78374/10 "2022-11-07T16:44:19Z")

</div>

Confirmed we are also still seeing the issue from Go, but not from JS (we made a proxy in JS to temporarily fix the problem)

---

<div class="post-metadata">

**Author:** ![seshandrew](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/seshandrew/32/33489_2.png) [@seshandrew](https://devforum.zoom.us/u/seshandrew)\
**Post date:** [November 7, 2022, 4:58pm UTC](https://devforum.zoom.us/t/error-code-1020/78374/11 "2022-11-07T16:58:44Z")

</div>

AFAICT the issue is with Zoom/Cloudflare no longer accepting `Transfer-Encoding: chunked`. We changed the underlying HTTP client and finally got things working. Quite frustrating.

---

<div class="post-metadata">

**Author:** ![a.koval](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/a.koval/32/2585_2.png) [@a.koval](https://devforum.zoom.us/u/a.koval)\
**Post date:** [November 8, 2022, 11:37am UTC](https://devforum.zoom.us/t/error-code-1020/78374/13 "2022-11-08T11:37:44Z")

</div>

golang fix:

HTTP/2 - work well

```auto
http.Client{ 
   Transport: &http.Transport{ 
   ForceAttemptHTTP2: true,

```

---

<div class="post-metadata">

**Author:** ![pr12](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/pr12/32/42979_2.png) [@pr12](https://devforum.zoom.us/u/pr12)\
**Post date:** [November 14, 2022, 8:23am UTC](https://devforum.zoom.us/t/error-code-1020/78374/14 "2022-11-14T08:23:32Z")

</div>

**How do you write a program to print the Fibonacci series 0, 1,1,2,3,5,8…n?**  
#include \<stdio.h\>  
int main() {

int i, n;

// initialize first and second terms  
int t1 = 0, t2 = 1;

// initialize the next term (3rd term)  
int nextTerm = t1 + t2;

// get no. of terms from user  
printf(“Enter the number of terms: “);  
scanf(”%d”, &n);

// print the first two terms t1 and t2  
printf("Fibonacci Series: %d, %d, ", t1, t2);

// print 3rd to nth terms  
for (i = 3; i \<= n; ++i) {  
printf("%d, ", nextTerm);  
t1 = t2;  
t2 = nextTerm;  
nextTerm = t1 + t2;  
}

return 0;  
}

Learnt it from [Tap Academy](https://thetapacademy.com/)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [November 17, 2023, 11:59pm UTC](https://devforum.zoom.us/t/error-code-1020/78374/15 "2023-11-17T23:59:54Z")

</div>

Closed on November 17, 2023, 11:59pm UTC

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