Skip to content
This repository was archived by the owner on Feb 10, 2022. It is now read-only.
This repository was archived by the owner on Feb 10, 2022. It is now read-only.

Using resource_get for currency_conversion, classified_locations and other modules  #56

@gerimo

Description

@gerimo

When resource_get for currency_conversion, classified_locations and other modules:

def get_local_currency_by_country_id( country_id ):

	query = "/classified_locations/countries/{}".format( country_id )

	try:

		response = api_instance.resource_get(query, CLIENT_SECRET)

		return json.dumps( response )

	except ApiException as e:

		pass

	return None

I get the following error message:

{"message":"{\"message\":\"Malformed access_token: MY-SECRET-TOKEN TEST\",\"error\":\"bad_request\",\"status\":400,\"cause\":[]}","error":"","status":400,"cause":[]}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions