cannot post query for upcoming launches
See original GitHub issueposting data on this url
https://api.spacexdata.com/v4/launches/query
with data
{
"query": {
"upcoming": true
},
"options": {
"limit": 1,
"select": {
"name": 1,
"id": 1,
"date_local": 1,
"flight_number": 1,
"details": 1,
"links": 1,
"date_precision": 1
},
"sort": {
"flight_number": "asc"
},
"populate": [
{
"path": "launchpad",
"select": {
"name": 1,
"full_name": 1
}
},
{
"path": "rocket",
"select": {
"name": 1,
"id": 1
}
}
]
}
}
Getting response Cannot read property ‘map’ of undefined
it was working few hours before the issue was raised, plz try to solve it fast as possible
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Express.js : Cannot POST /users error - Stack Overflow
I was trying to test routes out in Postman by creating a user but I kept getting back 'Cannot POST /users'. Can anyone...
Read more >How To Retrieve URL and POST Parameters with Express
First, open your terminal window and create a new project directory: mkdir express-params-example. … Step 2 – Using req. query with URL ...
Read more >Tracking vs. No-Tracking Queries - EF Core | Microsoft Learn
Information on tracking and no-tracking queries in Entity Framework Core.
Read more >Terms of Use - Instagram Help Center
You can't post someone else's private or confidential information without permission or do anything that violates someone else's rights, ...
Read more >AWS SDK for JavaScript v3
The AWS SDK for JavaScript v3 is a rewrite of v2 with some great new features. As with version 2, it enables you...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Interestingly, the old query works fine in the newly added v5.
Instead of
https://api.spacexdata.com/v4/launches/query
, I usedhttps://api.spacexdata.com/v5/launches/query
I just tested in postman.
@jakewmeyer Please, may you please review your fix once again? I’m getting a launch object inside a crew field. So now sometimes launch.crew is the same object as the launch. It seems to me this happens because of the 11th line in this document: routes/launches/v4/_transform-response.js