Gnosis.js will not perform createEvent request when initialized using Metamask's web3

I’m trying to create an eventon the Morden testnet via the gnosis api but gnosis.createEvent will not make the necessary request.

I am able to load metamask’s web3 into the config object I use to intialize the gnosis config.

config.web3 = customWeb3

I see that config.account is set to my correct metamask wallet address and I’m able to call getEvents and updateEventDescriptions successfully.

However, when I call getEvent( description, config.account, config), no request is made.

When I do not set metamask’s web3 in the config

config.web3 = customWeb3

I can make the request, but receive an ‘Invalid Signature’ error from the api endpoint. I presume this is because in this case the default config.account loaded by gnosis does not belong to me.

I see that metamask’s web3 version is 17.0 and the web3 provided without explicitly setting

config.web3 = customWeb3

is 15.3.

Why no request when i explicly set config.web3 as above?

Turns out I had a malformed event description that did not contain a valid feeToken value

Hi zwalla,
could you finally create it?

cheers

you can debug the creation with the management platform https://beta.gnosis.pm/#/event-description/0x585c0303482ec6fa98b2133e659bafd2d9760ea1229c9e941c9023feeac6e015

Next step is to create the event https://docs.gnosis.pm/en/latest/getting-started/new-prediction-market/#event-on-chain