Error Code 300


#1

Hi.

I try to use REST APIs.
respose status is 200 OK but response is error code:300.
I’m using postman.
what is cause?

log:

2017-11-03 00:30:46 POST 200 https://api.zoom.us/v1/meeting/create
Request Information
Method / Endpoint

POST https://api.zoom.us/v1/meeting/create
Headers

accept-encoding: gzip, deflate, br
accept: */*
connection: close
content-type: application/json
user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36
Params

api_key: **************
api_secret: ******
topic: Meeting Topic
Body

N/A
Response Information
Status

200
Headers

Set-Cookie: cred=********************; Path=/; Secure; HttpOnly
Data

{
“error”: {
“code”: 300,
“message”: “\u7121\u52b9\u306a\u30a4\u30f3\u30d7\u30c3\u30c8\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\uff1a1”
}
}

One more question.
I sended few command after this log command.
but no created logs. and to response is error.
what wrong this?
this cUrl command was created postman.
code:

curl -X POST \
https://api.zoom.us/v1/user/list \
-H ‘cache-control: no-cache’ \
-H ‘content-type: application/json’ \
-H ‘postman-token: ******’ \
-d ‘{“api_key” : “******”,
“api_secret” : “***********”
}’

response:
{
“error”: {
“code”: 300,
“message”: “Api key and secret are required.”
}
}

I was just upgraded my account to Pro before this work.
is this cause?

 


#2

Hi Noriko,

 

Looks like you are trying to pass api_key/secret as a JSON payload. v1 of the API takes them as query parameters or form data. Please try that.


#3

Hi Joshua ,

thank you for your response.
i solved that issue.
but now i have a new error.

i send this url.
response is error 200
what is this cause?

[https://api.zoom.us/v1/ma/account/list?api_key=****************&api_secret=*********************](https://api.zoom.us/v1/ma/account/list?api_key= &api_secret=***** )

{
“error”: {
“code”: 200,
“message”: “Invalid master account api key or secret.”
}
}

 

 

[https://api.zoom.us/v1/ma/account/create?api_key=****************&api_secret=*********************&account_id=info@isystems.co.jp&first_name=aaa&last_name=bbbb&password=P@55w0rd](https://api.zoom.us/v1/ma/account/create?api_key= &api_secret=***** &account_id=info@isystems.co.jp&first_name=aaa&last_name=bbbb&password=P@55w0rd)

{
“error”: {
“code”: 200,
“message”: “Invalid master account api key or secret.”
}
}

 


#4

Looks like you are trying to use Master Account APIs. If your account is not setup this way, they will not work for you.


#5

Hi Joshua ,

I’m confused.

I was thinking this account is master.

This account was created by me And  upgraded user type to Pro before few days.

How can i know Master Account APIs?(Where page?)

Do I need something to use this APIs?

This api_key gets here.  https://developer.zoom.us/me/ 

 


#6

Master accounts are a special type, they have the ability to create accounts (not users) underneath them. These type of accounts and that ability is usually preserved for resellers/partners.