I have a query that was working a couple weeks ago and is now returning the following error: undefined method `[]=' for nil:NilClass I removed the &fields parameter and the problem went away. If I try to add &fields back, the problem reoccurs. Here is my query: http://api.amp.active.com/v2/search?query=tennis&category=tournaments&start_date=2015-04-02..&lat_lon=30.3021867862915,-97.7467346191406&radius=50&api_key={apikey}&per_page=200&sort=date_asc&fields=asset.assetLegacyData.participationCriteriaTxt,asset.registrationUrlAdr,asset.place.latitude,asset.place.longitude,asset.activityEndDate,asset.assetName,asset.contactPhone,asset.activityStartDate
Message edited by jamesphumphrey 2 years ago
Frambot – 9 years ago
I also see the same issue. The original post is 9 months old at the time of this writing.
Glen DiPalma – 8 years ago
Can you provide an example on how to use the &fields= sample. what fields can you place here? It is not working for me.
I am getting this error - {"error":{"message":"undefined method `[]=' for nil:NilClass"}}
astarnes – 8 years ago
fields is not a currently valid search parameter. Please review the interaction I/O docs here: http://developer.active.com/io-docs and additional documentation here: http://developer.active.com/docs/v2_activity_api_search for more information on available query parameters.
Please sign in to add a post.
I have a query that was working a couple weeks ago and is now returning the following error: undefined method `[]=' for nil:NilClass I removed the &fields parameter and the problem went away. If I try to add &fields back, the problem reoccurs. Here is my query: http://api.amp.active.com/v2/search?query=tennis&category=tournaments&start_date=2015-04-02..&lat_lon=30.3021867862915,-97.7467346191406&radius=50&api_key={apikey}&per_page=200&sort=date_asc&fields=asset.assetLegacyData.participationCriteriaTxt,asset.registrationUrlAdr,asset.place.latitude,asset.place.longitude,asset.activityEndDate,asset.assetName,asset.contactPhone,asset.activityStartDate
Message edited by jamesphumphrey 2 years ago
Frambot – 9 years ago
I also see the same issue. The original post is 9 months old at the time of this writing.
Glen DiPalma – 8 years ago
Can you provide an example on how to use the &fields= sample. what fields can you place here? It is not working for me.
Glen DiPalma – 8 years ago
I am getting this error - {"error":{"message":"undefined method `[]=' for nil:NilClass"}}
astarnes – 8 years ago
fields is not a currently valid search parameter. Please review the interaction I/O docs here: http://developer.active.com/io-docs and additional documentation here: http://developer.active.com/docs/v2_activity_api_search for more information on available query parameters.