Web API

Monday, November 25, 2024 5:46:04 PM
  • 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
  • 41
hi i think you need rebuild project after re config appsettings.json
0
  • Posted: Thursday, December 12, 2019 6:39 AM
  • 953
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