Skip to content

Error when debugging enabled - undefined local variable or method `req_body' in lib/aspose_words_cloud/api_client.rb:135 #11

@avinash-s-24

Description

@avinash-s-24

Getting error when enabling debugging in Aspose Words cloud ruby sdk,

      AsposeWordsCloud.configure do |config|
        config.client_data['ClientId'] = ENV['ASPOSE_CLIENT_ID']
        config.client_data['ClientSecret'] = ENV['ASPOSE_CLIENT_SECRET']
        config.debugging = true
      end

      @api_client = AsposeWordsCloud::WordsApi.new

Error trace:


	3: from /Users/avs/.rvm/gems/ruby-2.7.8/gems/aspose_words_cloud-24.12.0/lib/aspose_words_cloud/api/words_api.rb:43:in `initialize'
	2: from /Users/avs/.rvm/gems/ruby-2.7.8/gems/aspose_words_cloud-24.12.0/lib/aspose_words_cloud/api/words_api.rb:14926:in `request_token'
	1: from /Users/avs/.rvm/gems/ruby-2.7.8/gems/aspose_words_cloud-24.12.0/lib/aspose_words_cloud/api_client.rb:80:in `call_api'
/Users/avs/.rvm/gems/ruby-2.7.8/gems/aspose_words_cloud-24.12.0/lib/aspose_words_cloud/api_client.rb:135:in `build_request': undefined local variable or method `req_body' for #<AsposeWordsCloud::ApiClient:0x00007f87c74d9a30> (NameError)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions