-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected content type #128
Comments
Hi @orowley Thank you for bringing this bug to our attention. Typically, this occurs when the request involves a large or intricate polygon, or encompasses multiple years or datasets (as illustrated in the example provided in the API errors section, see image attached. |
Thanks for flagging this. I just encountered the same error with get_event(event_type = "PORT_VISIT", But the error solved itself when retrying later. |
…e and Nate, comment the error parsing function, fixes #128, update README.Rmd to be more precise in explanations.
Hi @orowley thanks for flagging this issue. The most recent version of the package will be released on June 30th and this should not happen again, so I'm closing this issue. Please feel free to reopen if you encounter it again after installing the next version. |
Awesome this is fantastic news and will make using the API through R so much easier for my team with our far reaching birds and large datasets!
Keep up the awesome work.
From: Andrea Sánchez-Tapia ***@***.***>
Sent: Thursday, June 27, 2024 12:43 PM
To: GlobalFishingWatch/gfwr ***@***.***>
Cc: Olivia Rowley ***@***.***>; Mention ***@***.***>
Subject: Re: [GlobalFishingWatch/gfwr] Unexpected content type (Issue #128)
Hi @orowley<https://github.com/orowley> thanks for flagging this issue. The most recent version of the package will be released on June 30th and this should not happen again, so I'm closing this issue. Please feel free to reopen if you encounter it again after installing the next version.
-
Reply to this email directly, view it on GitHub<#128 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BDTLS62ZUAM7FYVE2F2VZRDZJNN23AVCNFSM6AAAAABGIL6F2KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJSHA2TCMJQGY>.
You are receiving this because you were mentioned.Message ID: ***@***.******@***.***>>
Caution - This message and accompanying data may contain information that is confidential or subject to legal privilege. If you are not the intended recipient you are notified that any use, dissemination, distribution or copying of this message or data is prohibited. If you received this email in error, please notify us immediately and erase all copies of the message and attachments. We apologise for the inconvenience. Thank you.
|
Kia Ora,
Wanting some assistance with the below error code when pulling data for a user defined json using the get_raster() function
Error in
httr2::req_perform()
:! Failed to parse error body with method defined in
req_error()
.Caused by error in
httr2::resp_body_json()
:! Unexpected content type "text/html".
• Expecting type "application/json" or suffix "json".
The text was updated successfully, but these errors were encountered: