#Api route handler isn't receiving image key
1 messages · Page 1 of 1 (latest)
Based on the information provided in the extracts, it's not clear why the image key is not being received in your API route handler. The code you've shared seems correct and should work as expected.
However, there are a few things you could check:
- Ensure that the
linkToDelete.imageKeyvalue is notundefinedornullbefore sending the request. - Check if the
request.urlin your API route handler is correct and contains the query parameters. - Make sure that the API route handler is set up correctly and is able to handle
DELETErequests.
Unfortunately, without more context or information, it's hard to provide a more specific solution. If the issue persists, you might want to consider posting a detailed question on a platform like StackOverflow or the Next.js GitHub issues page.
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
@humble lion kapa.ai is still learning and improving, please let us know how it did by reacting below
Let me check the knowledge base for you. One moment! :books: