Clockify api to get all attendence data - postman

I am putting this url in postman: https://reports.api.clockify.me/api/v1/workspaces/{workspaceId}/reports/summary to get summary reports but instead of any response I am getting nothing, no error either. Any help would be appreciated.

Related

GraphQL Endpoint returns 400

I have a django app built with graphene and I have a problem running a simple POST query for the GraphQL endpoint, it keeps returning a 400 Bad request syntax.
but it should work since I don't have any problems running the query from the endpoint http://localhost:8000/graphql-dev
and I can't see any issues in the way I send the postman request.
I looked online for suitable solutions but couldn't find any that would help.
Any help/tips would be greatly appreciated.
EDIT:
I still didn't manage to see why I'm having this issue with postman, but here are some observations:
first, i changed the request to GET (since in graphql, query is for GET and mutation for POST - sorry, I missed that)
I tried the same request with postman (which didn't work) and with insomnia (which did)
with postman
with insomnia
What's weird is that if i check my django console the requests look the same.
EDIT2: okay, I figured it out...removing the Content-Type application/json did the trick. Now it works with postman as well.

Can someone explain what's happening with the HTTP status?

I get a 404 error while checking the link using requests library for the page below while the page opens fine in the browser when I reach to it from it's parent page. Can someone please help me understand what's happening?. I get the same error using this service as well.
url = "http://www.dell.com/en-us/learn/assets/shared-content~data-sheets~en/documents~2016-v5-systems-oem-10022706.pdf"
response = requests.get(url)
print response.status_code
The first URL sets a cookie, that is sent to the server as you request the second link. If you call the second link with exactly the same request, excluding the cookie, you get a 404.

Incorrect HTTP Status code

I get a 404 error while checking the link using requests for the page below while the page opens fine in the browser. Can someone please help me understand what's happening?. I get the same error using this service as well.
url = "http://www.dell.com/en-us/learn/assets/corporate~case-studies~en/documents~2014-chitale-dairy-10012962-networking-blades-support.pdf
response = requests.get(url)
print response.status_code
Seems that Hypertext Transfer Protocol is working fine! The pdf file that you trying access is no longer exist or never existed.

Facebook url scrape failing with internal 500 error

According to https://developers.facebook.com/docs/sharing/opengraph/using-objects#update it is possible to do a 'POST' on ?id=url&scrape=true to refresh the url object in Facebook cache.
This is working fine and the object attributes are getting refreshed with the last scraped time changing when the url is viewed thru the Facebook debugger.
However the API call to scrape always fails with a 500 internal error and I am keen to avoid this error from happening. I have tried to several combination of using POST fields and with/without encoding the query parameters. But nothing has helped.
Anybody else having this problem and any help is highly appreciated.
I am using graph api version - v2.5

Facebook returning HTTP status code 502 while making a GET Request

I am trying a GET request from Facebook for a batch of ids using my app access token separated by a comma.
Please find below the call:
https://graph.facebook.com/?ids=1374186930,100005305471358,1516423103,100003031846875,100002939786624,100004705179654,522691095,100002893804783,100005269178084,1417831236,100004652521769,100003511989378,100002394692546,1646211152,1092931510,100000152985362,100004151552444,100004122698187,100001574061632,100005007584068&access_token=<my_app_access_token>&format=json
Facebook returns an error intermittently for some of these requests with an HTTP status code of 502.
I've tried fetching for these ids using the graph API explorer as well as the app access token later. They have been fetched properly. I have performed some research, but all issues of Facebook were related to open graph and 502 is "Bad Gateway Error". Since mine is not a web app, I cannot even refresh a browser to make the call again. This is a normal call made to Facebook API.
The error returned by Facebook is html which contains the following message:
"Sorry, something went wrong. We're working on getting this fixed as soon as we can."
Since they have given this response, I want to know if someone is facing this issue as well and if somebody could tell me, when this will be resolved.
This is affecting the other calls as well and there is a delay in the fetching.
Thanks in advance.
The Error 502 means that the message is too large. I do not know exactly the maximum size. Curiosity. What language are you using??
Good Bye