[#238] Cannot access token/rpc

Migrated from Redmine #238 | Author: Karl Oskar Andersen
Status: Closed | Priority: High, I’m very impatient | Created: 2018-09-18


Hello,

I am unable to access any rpc methods, as I am unable to generate the access token.

We have a development server “Wogow”, and now we created “WogowProd”.

We have identical code on both platforms, with the exception of some configurations.

When I call “getUserToken” on our production server, I am greeted with this result:
{{
“error”: {
“code”: -32000,
“message”: “SQLSTATE[42000]: Syntax error or access violation: 1049 Unknown database ‘em_WogowProd’”,
“data”: null
},
“id”: “1”,
“jsonrpc”: “2.0”
}}

The user has admin access.

I have no idea what I can do to redeem this issue, as the description states this is a server side error.

I double checked the login/password/username is the correct production credentials.

Karl Oskar Andersen wrote:

Sorry, I were sent the wrong login, which is “wogowprod” and not “WogowProd”.

Redmine Admin wrote:

please provide us raw http request

Karl Oskar Andersen wrote:

Hello, no need. The problem was I were sent the wrong credentials.