question

Maksym Fomichov avatar image
Maksym Fomichov asked Phong Vu edited

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?

rest api
1 |3000

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 Phong Vu edited

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 |3000

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 commented ·

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 |3000

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 Maksym Fomichov commented

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

4 comments
1 |3000

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 ♦♦ commented ·

What is your sandbox account id or main company number?

0 Likes 0 ·
Maksym Fomichov avatar image Maksym Fomichov Phong Vu ♦♦ commented ·

+14244276620

0 Likes 0 ·
Maksym Fomichov avatar image Maksym Fomichov Phong Vu ♦♦ commented ·

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

0 Likes 0 ·
Maksym Fomichov avatar image Maksym Fomichov Phong Vu ♦♦ commented ·

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