Ask a Question

Ask a Question
Back to All

MakeDonationRequest issue

I'm currently getting this error ,
HTTP Error. method=[POST] uri=[https://api.beamable.com/object/groups/"MyId"/donations] code=[400] payload=[{"status":400,"service":"groups","error":"InvalidDonationError","message":"No group donations config with name donations.default"}]

Method,

internal async void MakeDonationRequest(Currency currency, Action onSuccess = null, Action onFailure = null)
{
try
{
var grpId = _groupsView.Groups[0].Group.id;
await _beamContext.Api.GroupsService.MakeDonationRequest(grpId, currency);
onSuccess?.Invoke();
}
catch (Exception ex)
{
Debug.LogError(ex.Message);
onFailure?.Invoke();
}
}