Forum

Authentication Erro...
 
Notifications
Retirer tout

Authentication Error for Projeqtor API

2 Posts
2 Utilisateurs
0 Reactions
1,686 Vu
(@luchomqz)
Posts: 17
Eminent Member
Début du sujet
 
[#8655]

Hi
We are trying to get data through the Projeqtor API. For some reason the basic authentication information does not reach the Projeqtor server and it shows us the following error:
{"error":"invalid API query", "message":"user unknown in database"}
We did the test with a NET Core project using the native HTTPClient and the RestSharp library and it gave us the same result.
On the other hand, the Postman test works for us and returns the data we requested.
Reading the PHP server code, we found that for some reason the basic authentication information does not reach the server.

Thanks


 
Posté : 07/12/2022 9:18 pm
(@babynus)
Posts: 14952
Membre Admin
 

User you try to use does not correspond to an existing user in projeqtor.
This is mandatory to find API key and apply rights for this user.


 
Posté : 08/12/2022 11:06 am
Share:
Retour en haut