question

Maksym Fomichov avatar image
Maksym Fomichov asked ·

Cannot start "Glip Team Quick Start App"

Hello. When I try to run code on C# I get an error like this:

StatusCode: 400, ReasonPhrase: 'Bad Request'

Method: POST, RequestUri: 'https://platform.devtest.ringcentral.com/restapi/v1.0/glip/teams'

Content: {"message":"Company associated with RC account is not found"}

What I am doing wrong?

glip api
1 |1500 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Phong Vu avatar image
Phong Vu answered ·

It looks like you have never logged in to the Glip app in sandbox. Try to login here with the same user credentials. Test by creating a team manually to see if it works. Then run your app again.

1 comment
1 |1500 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Yey! It works as expected. Thanks, Phong Vu.

0 Likes 0 ·
Phong Vu avatar image
Phong Vu answered ·

Saying "Glip Team Quick Start App", do you mean following the quick start example in the Dev guide? Did you use the C# SDK? How did you login the platform?

1 |1500 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Maksym Fomichov avatar image
Maksym Fomichov answered ·

Yes, this is the quick start example. Yes, it is C#.

4 comments
1 |1500 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

What is your sandbox account id or main company number?

0 Likes 0 ·

+14244276620

0 Likes 0 ·

restClient.Authorize(RINGCENTRAL_USERNAME, RINGCENTRAL_EXTENSION, RINGCENTRAL_PASSWORD).Wait();

0 Likes 0 ·

Password from here

lmnj6ryxh3.png

0 Likes 0 ·
lmnj6ryxh3.png (13.2 KiB)

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys