Skip to content

Conversation

@99neerajsharma
Copy link
Contributor

@99neerajsharma 99neerajsharma commented Jun 8, 2025

As per the current egnyte developer api document the api uses add_file_name. Ref: https://developers.egnyte.com/docs/read/Egnyte_Link_API_Documentation#Create-a-Link

Current implementation causing below error:

resp = client.links.create(path='/Shared/ABC/Random.txt', type='file', accessibility='anyone', add_filename=True)
egnyte.exc.RequestError: <RequestError: {url: 'https://nsharma.egnyte.com/pubapi/v1/links'}, JSON property add_filename not supported by the endpoint., {http status: '400'}

@sachin-shetty sachin-shetty merged commit fe2021c into egnyte:master Jun 10, 2025
1 of 5 checks passed
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

Successfully merging this pull request may close these issues.

3 participants