27
Views
10
Comments
Solved
[Vonage APIs Web] Error with request submission
vonage-apis-web
Web icon
Forge asset by LINKIT R&D
Application Type
Traditional Web

Hi,

I  have configured the API key. when i create the new session it displays "Error with request submission"


2019-01-15 10-16-47
Parma Bhagwandin
Solution

Hi Ellakkiya,

Sometime a space or newline gets into the siteproperty. Can you check that there are none present in the value of the api key and secret? The best way to do this is by going into edit modus of the site property and with your cursor go to the end of the value. Your cursor should have no whitespaces (should not go any further) then the last character of the value. 

I just tested it, it gives the same error. 

Let me know if this helps your problem.


Greets,

Parma

2023-12-07 07-51-40
Remco Dekkinga
 
MVP

Hi Ellakkiya,

Can you share the stack-trace from the ServiceCenter error log?

Kind regards,

Remco Dekkinga

UserImage.jpg
Ellakkiya

Hi Remco Dekkinga ,

Thankyou for your reply

Unfortunately there is no error log in the service center

This is the error while debugging the application 

2023-12-07 07-51-40
Remco Dekkinga
 
MVP

Hi Ellakkiya,

I've managed to replicate the error. The problem is that your APIKey or APISecret is not set correctly in the Site Properties. You have to go to ServiceCenter and validate that the Effective Value has the exact same value as your shown in your Vonage Video dashboard.

UserImage.jpg
Ellakkiya

Hi Remco,

Thankyou for your reply 

I have verified my API keys, they are as same as in the Vonage Video dashboard. 

Did i miss any configuration in the Vonage dashboard?

2019-01-15 10-16-47
Parma Bhagwandin

Hi Ellakkiya,

Can you post the oml here for me? So I can take a look at the settings.

Thnx,

Parma


UserImage.jpg
Ellakkiya

Hi parma,

Thankyou for your reply

I have attached my oml here

VonageWebDemo.oml
2019-01-15 10-16-47
Parma Bhagwandin
Solution

Hi Ellakkiya,

Sometime a space or newline gets into the siteproperty. Can you check that there are none present in the value of the api key and secret? The best way to do this is by going into edit modus of the site property and with your cursor go to the end of the value. Your cursor should have no whitespaces (should not go any further) then the last character of the value. 

I just tested it, it gives the same error. 

Let me know if this helps your problem.


Greets,

Parma

UserImage.jpg
Ellakkiya

Hi Parma Bhagwandin,

As you mentioned i have verified there is no whitespace.

But still error exist.

2019-01-15 10-16-47
Parma Bhagwandin

Hi Ellakkiya,

You are using the demo application, show it should work. I want to test the key and secret.

I send you a pm.

Cheers,

Parma

UserImage.jpg
Mateus Tango

Hi Parma,
Any resolution on this error. I am having the same problem. I've already checked Service Center and Studio for the site proprieties, and they are correct, and with no spaces or NewLines. 


Any suggestion?

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.