question

Upvotes
Accepted
3 0 0 3

Organization lookup "no data found" on website and via API

On the PermID website links to organization id's are returning no data.

For example : https://permid.org/search?q=glencore

Click on first result : https://permid.org/1-5034844193

Gives "No data found"

The same happens using the Python OpenPermID library:

df_search, err = opid.search("glencore", entityType='organization', format='dataframe')
# works fine

output, err = opid.lookup("1-5034844193", format='json-ld')

# reports this error
ERROR:openpermid:<Response [200]>, {'Date': 'Thu, 02 Mar 2023 18:48:43 GMT', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'X-Cnection': 'close', 'X-RateLimit-Limit-day': '5000', 'X-RateLimit-Remaining-day': '4889', 'RateLimit-Limit': '5000', 'RateLimit-Remaining': '4889', 'RateLimit-Reset': '18678', 'Expires': 'Thu, 01 Jan 1970 00:00:00 GMT', 'DurationMillis': '189', 'Access-Control-Allow-Credentials': 'true', 'Vary': 'Origin', 'X-Cache': 'Miss from cloudfront', 'Via': '1.1 00266a01055b9f1e1ad959f077c1d96a.cloudfront.net (CloudFront)', 'X-Amz-Cf-Pop': 'JFK50-P6', 'X-Amz-Cf-Id': '3-PolBviO4AZ37z-2KrW4c6rkVjO_gFG7-oH_PvpeztBSaCvEgGpqg==', 'Strict-Transport-Security': 'max-age=31536000', 'x-frame-options': 'DENY', 'CF-Cache-Status': 'DYNAMIC', 'Server': 'cloudflare', 'CF-RAY': '7a1bd0c29e0a2a0c-ORD'}, 

# output is NoneType

A simple requests.get() gives a status code of 200 but the response object has no content.

Please can you advise if this is a known issue, or is something specific to my account?


#productopen-permid-api
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Contacted PGO Support Permid.

Hi @trubens ,

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?

If so please can you click the 'Accept' text on the left side of the appropriate reply? This will guide all community members who have a similar question.

Thanks,
AHS

Upvotes
Accepted
231 1 0 2

hello @trubens

Yes, It is a known issue, not with your account, but on our side.

Because of the manual error, entities that were supposed to be updated got their data purged.

If not today, early next week all should be working fine.

I apologize for any inconvenience it may cause you.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
78.8k 250 52 74

@trubens

Thanks for reaching out to us.

I got the same error. It could be a problem with the OpenPermID service.

I will contact the product team to verify the service.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

@trubens

It works now.

1677838136088.png

1677838136088.png (30.2 KiB)
Yes, working for me too now.

Thanks for your quick response to this issue. It is much appreciated.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.