System.Data.SqlClient.SqlException (0x80131904): Invalid column name 'StatusId'.
Invalid column name 'ErrorLog'.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Etoz.ConnectData.DataAccess.ExecuteQuery(String query) in c:\inetpub\wwwroot\cricdirect.com\api\v6\App_Code\db\data_access.cs:line 117
ClientConnectionId:fa19e215-021e-454f-8d2b-18b0192e04ec
Error Number:207,State:1,Class:16If not Exists (Select ApiId From api_Data WHERE Id = 51901 AND DataTypeId = 6) BEGIN INSERT INTO api_Data (Id, DataTypeId, Json, Modified, StatusId, ErrorLog) VALUES (51901,6,'{"status":"ok","response":{"player":{"pid":51901,"title":"Caroline de Lange","short_name":"Caroline de Lange","first_name":"Caroline de Lange","last_name":"","middle_name":"","birthdate":"1998-07-27","birthplace":"","country":"nl","primary_team":[],"logo_url":"","playing_role":"bowl","batting_style":"Right Hand Bat","bowling_style":"Right Arm Leg Spin","fielding_position":"","recent_match":0,"recent_appearance":0,"fantasy_player_rating":8.5,"facebook_profile":"","twitter_profile":"","instagram_profile":"","debut_data":"","thumb_url":"","nationality":"Netherlands"},"batting":{"odi":{"match_id":0,"inning_id":0,"matches":8,"innings":8,"notout":2,"runs":23,"balls":86,"highest":10,"run100":0,"run50":0,"run4":1,"run6":0,"average":"3.83","strike":"26.74","catches":3,"stumpings":0,"fastest50balls":0,"fastest100balls":0},"t20i":{"match_id":0,"inning_id":0,"matches":43,"innings":14,"notout":5,"runs":42,"balls":80,"highest":13,"run100":0,"run50":0,"run4":2,"run6":0,"average":"4.66","strike":"52.50","catches":11,"stumpings":0,"fastest50balls":0,"fastest100balls":0},"t10":{"match_id":"0","inning_id":"0","matches":"33","innings":"11","notout":"3","runs":"78","balls":"65","highest":"34","run100":"0","run50":"0","run4":"12","run6":"0","average":"9.75","strike":"120.00","catches":"9","stumpings":"0"}},"bowling":{"odi":{"match_id":0,"inning_id":0,"matches":8,"innings":8,"balls":396,"overs":66,"runs":284,"wickets":6,"bestinning":"2\/30","bestmatch":"2\/30","econ":"4.30","average":"47.33","strike":"66.0","wicket4i":0,"wicket5i":0,"wicket10m":0,"hattrick":0,"expensive_over_runs":0},"t20i":{"match_id":0,"inning_id":0,"matches":43,"innings":42,"balls":813,"overs":135.3,"runs":686,"wickets":36,"bestinning":"4\/6","bestmatch":"4\/6","econ":"5.06","average":"19.05","strike":"22.5","wicket4i":2,"wicket5i":0,"wicket10m":0,"hattrick":0,"expensive_over_runs":0},"t10":{"match_id":"0","inning_id":"0","matches":"33","innings":"23","balls":"240","overs":"40","runs":"244","wickets":"14","bestinning":"2\/5","bestmatch":"2\/5","econ":"6.10","average":"17.43","strike":"17.14","wicket4i":"0","wicket5i":"0","wicket10m":"0"}}},"etag":"f55f9b1cdf23d83261bb5446d6e0ea92","modified":"2025-06-15 14:42:13","datetime":"2025-06-15 14:42:13","api_version":"3.0"}', GetDate() , 0,'') END ELSE BEGIN Update api_Data Set Json = '{"status":"ok","response":{"player":{"pid":51901,"title":"Caroline de Lange","short_name":"Caroline de Lange","first_name":"Caroline de Lange","last_name":"","middle_name":"","birthdate":"1998-07-27","birthplace":"","country":"nl","primary_team":[],"logo_url":"","playing_role":"bowl","batting_style":"Right Hand Bat","bowling_style":"Right Arm Leg Spin","fielding_position":"","recent_match":0,"recent_appearance":0,"fantasy_player_rating":8.5,"facebook_profile":"","twitter_profile":"","instagram_profile":"","debut_data":"","thumb_url":"","nationality":"Netherlands"},"batting":{"odi":{"match_id":0,"inning_id":0,"matches":8,"innings":8,"notout":2,"runs":23,"balls":86,"highest":10,"run100":0,"run50":0,"run4":1,"run6":0,"average":"3.83","strike":"26.74","catches":3,"stumpings":0,"fastest50balls":0,"fastest100balls":0},"t20i":{"match_id":0,"inning_id":0,"matches":43,"innings":14,"notout":5,"runs":42,"balls":80,"highest":13,"run100":0,"run50":0,"run4":2,"run6":0,"average":"4.66","strike":"52.50","catches":11,"stumpings":0,"fastest50balls":0,"fastest100balls":0},"t10":{"match_id":"0","inning_id":"0","matches":"33","innings":"11","notout":"3","runs":"78","balls":"65","highest":"34","run100":"0","run50":"0","run4":"12","run6":"0","average":"9.75","strike":"120.00","catches":"9","stumpings":"0"}},"bowling":{"odi":{"match_id":0,"inning_id":0,"matches":8,"innings":8,"balls":396,"overs":66,"runs":284,"wickets":6,"bestinning":"2\/30","bestmatch":"2\/30","econ":"4.30","average":"47.33","strike":"66.0","wicket4i":0,"wicket5i":0,"wicket10m":0,"hattrick":0,"expensive_over_runs":0},"t20i":{"match_id":0,"inning_id":0,"matches":43,"innings":42,"balls":813,"overs":135.3,"runs":686,"wickets":36,"bestinning":"4\/6","bestmatch":"4\/6","econ":"5.06","average":"19.05","strike":"22.5","wicket4i":2,"wicket5i":0,"wicket10m":0,"hattrick":0,"expensive_over_runs":0},"t10":{"match_id":"0","inning_id":"0","matches":"33","innings":"23","balls":"240","overs":"40","runs":"244","wickets":"14","bestinning":"2\/5","bestmatch":"2\/5","econ":"6.10","average":"17.43","strike":"17.14","wicket4i":"0","wicket5i":"0","wicket10m":"0"}}},"etag":"f55f9b1cdf23d83261bb5446d6e0ea92","modified":"2025-06-15 14:42:13","datetime":"2025-06-15 14:42:13","api_version":"3.0"}', Modified = GetDate() WHERE Id = 51901 AND DataTypeId = 6 END Player profile of Caroline de Lange, Netherlands