Skip to content

400 Client Error: Bad request  #37

@lukeallister

Description

@lukeallister

I suspect that this is related to #33 but I wanted to ask.

I am extending the AssetBankClient to create metaproperty option (as mentioned in #30):

    def create_metaproperty_option(self, property_id, query: dict = None):
        """ Creates a new meta property option. """    
        return self.session.post(f'/v4/metaproperties/{property_id}/options', data=query or {})

Using OAuth2 permanent access token, I'm getting an error triggered from the util.py post function,

raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://<myclienturl>.bynder.com/api/v4/metaproperties/3508BEA1-6255-4225-82D14EBC652BE240/options

Is this the same issue, or different?

[edit: I'm actually using a permanent token with full read/write permissions for Assets, Collections, Metaproperties, and Analytics]

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