I’m having this issue, I’m using aspose-words-cloud-ruby
This is the version of the gem and its dependencies:
aspose_words_cloud (21.12.0)
faraday (>= 1.4.1)
marcel (>= 1.0.0)
multipart-parser (>= 0.1.1)
I cannot work with the latest version of the gem because it is not compatible with my ruby version, I’m using ruby 2.5.7 and Rails 5.0.7
This is how I’m implementing it:
AsposeWordsCloud.configure do |config|
config.client_data[‘ClientId’] = CLIENT_ID
config.client_data[‘ClientSecret’] = CLIENT_SECRET
end
@words_api = WordsApi.new
request = AsposeWordsCloud::GetDocumentDrawingObjectsRequest.new(name: document_name, folder: folder_name, storage: ‘S3’)
response = @words_api.get_document_drawing_objects(request)
Also I’ve validated the storage connection here https://dashboard.aspose.cloud/storages
and it returns the Valid connection response
Is there something else I need to set up in my ruby script?
Also, testing the API here Aspose.Words Cloud - API References when I add my credentials, it is showing this error: " Auth Error TypeError: Failed to fetch"
Screen Shot 2023-02-02 at 11.13.34 AM.png (5.1 KB)
Screen Shot 2023-02-02 at 11.11.38 AM.png (3.1 KB)