-
Hello,
I'm posting here because I'm out of idea on this issue.
I'm trying to establish a session based server to server connection, but I'm receiving a 40316 error code with the following message :Processing exception (bundle): Missing app ID in nonauthenticated requestI'm using the following json as input :
{ "packetId":0, "appId":"XXXX", "messages": [ { "service":"authenticationV2", "operation":"AUTHENTICATE", "data": { "appId":"XXXX", "serverName":"####", "serverSecret":"SSSS" } } ] }According to this link : https://getbraincloud.com/apidocs/portal-usage/using-postman-with-s2s/
it seems that the json is properly formed.
I also tried to rename the 'appId' to 'gameId' but in vain. (See https://getbraincloud.com/apidocs/apiref/#s2s-authentication)
Any idea what I'm doing wrong ?
Thank you for your timeNote : We run on R4.14.0-8281
-
Hello,
I'm posting here because I'm out of idea on this issue.
I'm trying to establish a session based server to server connection, but I'm receiving a 40316 error code with the following message :Processing exception (bundle): Missing app ID in nonauthenticated requestI'm using the following json as input :
{ "packetId":0, "appId":"XXXX", "messages": [ { "service":"authenticationV2", "operation":"AUTHENTICATE", "data": { "appId":"XXXX", "serverName":"####", "serverSecret":"SSSS" } } ] }According to this link : https://getbraincloud.com/apidocs/portal-usage/using-postman-with-s2s/
it seems that the json is properly formed.
I also tried to rename the 'appId' to 'gameId' but in vain. (See https://getbraincloud.com/apidocs/apiref/#s2s-authentication)
Any idea what I'm doing wrong ?
Thank you for your timeNote : We run on R4.14.0-8281
@benjamin-maison I think the appId field below the packetId field is obsolete. The error code you're getting is for an invalid app id. Check if it's the correct one. Also, have you registered your server with the proper app id?
-
@benjamin-maison I think the appId field below the packetId field is obsolete. The error code you're getting is for an invalid app id. Check if it's the correct one. Also, have you registered your server with the proper app id?
@panagiotis-milios Thank you for your response, appreciate your time !
I solved the issue :
The url I was using was wrong, more precisely I was using the wrong servlet :
I was using/dispatcherv2while I was supposed to use
/s2sdispatcher.I also want to point out that you are right about the "appId" below the "packetId", it is not needed.
Thank you, I hope this thread will help anyone encountering this problem ! -
P Paul Winterhalder moved this topic from S2S APIs on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login