app-sdk icon indicating copy to clipboard operation
app-sdk copied to clipboard

Detect bodyParser setting in SDK and print a proper message

Open lkostrowski opened this issue 1 year ago • 0 comments

app-sdk requires bodyParser to be "false" so signature can be verified.

This part is easy to be omitted and leads to ambiguous error

2023-05-09T08:47:03.205Z app-sdk:SaleorWebhook Unexpected error: InternalServerError: stream is not readable

App-sdk should detect type of the body and throw with proper error and link to docs explaining how to fix it

lkostrowski avatar May 09 '23 08:05 lkostrowski