Web API

Saturday, July 11, 2020 5:35:16 AM
  • Posted: Friday, November 29, 2019 10:13 PM
  • 5
Hi,
I am new to GrandNode but so far impressed!

I have tried to access the web API and followed the guide: http://docs.grandnode.com/web-api

I am using the postman to test the settings but i get an "404" error.

If i enter the log in admin i se following error message:
"Short messageIDX10603: Decryption failed. Keys tried: '[PII is hidden]'. Exceptions caught: '[PII is hidden]'. token: '[PII is hidden]' Parameter name: KeySize"

Any ideas?
Is it something about the lenght of my secret key?
(have used the base64 encoder according to spec http://www.utilities-online.info/base64/#.XeGNfpMzaUl)
0
  • Posted: Friday, November 29, 2019 10:21 PM
  • 5
The secret key need to be at least 16char long. Would be great to update the documentation about that =)
0
  • Posted: Wednesday, December 11, 2019 4:33 PM
  • 31
hi i think you need rebuild project after re config appsettings.json
0
  • Posted: Thursday, December 12, 2019 6:39 AM
  • Team
  • 622
Reza wrote:
hi i think you need rebuild project after re config appsettings.json


I suppose Henrik found the problem.

@henrik, I've updated docs page :)
Best regards,
Patryk

GrandNode Team
0
back to top
Filters