Skip to content
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

BUG: API calls receive a CAPTCHA reply #104

Open
leonar15 opened this issue Mar 6, 2020 · 2 comments
Open

BUG: API calls receive a CAPTCHA reply #104

leonar15 opened this issue Mar 6, 2020 · 2 comments

Comments

@leonar15
Copy link

leonar15 commented Mar 6, 2020

I'm making calls to this endpoint (including the correct client id and secret):
https://api.seatgeek.com/2/events?q=concert&client_id=MY_CLIENT_ID&client_secret=MY_CLIENT_SECRET

However, the response is an HTML page that includes a CAPTCHA. This is powered by a service at "www.perimeterx.com"

Here is the returned HTML of the response (instead of the expected JSON response):
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Access to this page has been denied.</title> <link href="https://fonts.googleapis.com/css?family=Open+Sans:300" rel="stylesheet"> <style> html, body { margin: 0; padding: 0; font-family: 'Open Sans', sans-serif; color: #000; } a { color: #c5c5c5; text-decoration: none; } .container { align-items: center; display: flex; flex: 1; justify-content: space-between; flex-direction: column; height: 100%; } .container > div { width: 100%; display: flex; justify-content: center; } .container > div > div { display: flex; width: 80%; } .customer-logo-wrapper { padding-top: 2rem; flex-grow: 0; background-color: #fff; visibility: hidden; } .customer-logo { border-bottom: 1px solid #000; } .customer-logo > img { padding-bottom: 1rem; max-height: 50px; max-width: 100%; } .page-title-wrapper { flex-grow: 2; } .page-title { flex-direction: column-reverse; } .content-wrapper { flex-grow: 5; } .content { flex-direction: column; } .page-footer-wrapper { align-items: center; flex-grow: 0.2; background-color: #000; color: #c5c5c5; font-size: 70%; } @media (min-width: 768px) { html, body { height: 100%; } } </style> <!-- Custom CSS --> </head> <body> <section class="container"> <div class="customer-logo-wrapper"> <div class="customer-logo"> <img src="" alt="Logo"/> </div> </div> <div class="page-title-wrapper"> <div class="page-title"> <h1>Please verify you are a human</h1> </div> </div> <div class="content-wrapper"> <div class="content"> <div id="px-captcha"> </div> <p> In order to continue logging in with SeatGeek, please verify that you are not a robot. </p> </div> </div> <div class="page-footer-wrapper"> <div class="page-footer"> <p> Powered by <a href="https://www.perimeterx.com/whywasiblocked">PerimeterX</a> , Inc. </p> </div> </div> </section> <!-- Px --> <script> window._pxAppId = 'PXaG6ZzoXU'; window._pxJsClientSrc = '/aG6ZzoXU/init.js'; window._pxFirstPartyEnabled = true; window._pxVid = ''; window._pxUuid = 'db91fe00-5f4d-11ea-807f-21301308d17c'; window._pxHostUrl = '/aG6ZzoXU/xhr'; </script> <script> var s = document.createElement('script'); s.src = '/aG6ZzoXU/captcha/captcha.js?a=c&u=db91fe00-5f4d-11ea-807f-21301308d17c&v=&m=0'; var p = document.getElementsByTagName('head')[0]; p.insertBefore(s, null); if (true ){s.onerror = function () {s = document.createElement('script'); var suffixIndex = '/aG6ZzoXU/captcha/captcha.js?a=c&u=db91fe00-5f4d-11ea-807f-21301308d17c&v=&m=0'.indexOf('/captcha.js'); var temperedBlockScript = '/aG6ZzoXU/captcha/captcha.js?a=c&u=db91fe00-5f4d-11ea-807f-21301308d17c&v=&m=0'.substring(suffixIndex); s.src = '//captcha.px-cdn.net/PXaG6ZzoXU' + temperedBlockScript; p.parentNode.insertBefore(s, p);};}</script> <!-- Custom Script --> </body> </html>

@garetht garetht closed this as completed Mar 6, 2020
@garetht garetht reopened this Mar 6, 2020
@leonar15
Copy link
Author

leonar15 commented Mar 7, 2020

This appears to be resolved, but it would be great to have some confirmation that something was actually changed.

@baibhavanand
Copy link

I am receiving the same response for https://api.seatgeek.com/2/oauth/access_token

however, I am getting blocked by datadome

@leonar15 @garetht

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants