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:70a30f1f-0eae-4e3a-9e05-3bb2c482d0df Error Number:207,State:1,Class:16If not Exists (Select ApiId From api_Data WHERE Id = 117953 AND DataTypeId = 6) BEGIN INSERT INTO api_Data (Id, DataTypeId, Json, Modified, StatusId, ErrorLog) VALUES (117953,6,'{"status":"ok","response":{"player":{"pid":117953,"title":"Junior Sinclair","short_name":"JA Sinclair","first_name":"Junior Sinclair","last_name":"","middle_name":"","birthdate":"2001-02-28","birthplace":"","country":"wi","primary_team":[],"logo_url":"","playing_role":"bowl","batting_style":"Right Hand Bat","bowling_style":"Right Arm Off Break","fielding_position":"","recent_match":0,"recent_appearance":0,"fantasy_player_rating":8.5,"facebook_profile":"","twitter_profile":"","instagram_profile":"","debut_data":"","thumb_url":"","nationality":"West Indies"},"batting":{"t20":{"match_id":0,"inning_id":0,"matches":17,"innings":6,"notout":5,"runs":45,"balls":36,"highest":14,"run100":0,"run50":0,"run4":4,"run6":2,"average":"45.00","strike":"125.00","catches":4,"stumpings":0,"fastest50balls":0,"fastest100balls":0},"lista":{"match_id":0,"inning_id":0,"matches":6,"innings":3,"notout":0,"runs":55,"balls":43,"highest":35,"run100":0,"run50":0,"run4":3,"run6":4,"average":"18.33","strike":"127.90","catches":1,"stumpings":0,"fastest50balls":0,"fastest100balls":0},"t10":{"match_id":"0","inning_id":"0","matches":"10","innings":"9","notout":"0","runs":"139","balls":"82","highest":"38","run100":"0","run50":"0","run4":"8","run6":"11","average":"15.44","strike":"169.51","catches":"3","stumpings":"0"}},"bowling":{"t20":{"match_id":0,"inning_id":0,"matches":17,"innings":14,"balls":204,"overs":34,"runs":270,"wickets":9,"bestinning":"2\/12","bestmatch":"2\/12","econ":"7.94","average":"30.00","strike":"22.6","wicket4i":0,"wicket5i":0,"wicket10m":0,"hattrick":0,"expensive_over_runs":0},"lista":{"match_id":0,"inning_id":0,"matches":6,"innings":6,"balls":222,"overs":37,"runs":167,"wickets":3,"bestinning":"3\/40","bestmatch":"3\/40","econ":"4.51","average":"55.66","strike":"74.0","wicket4i":0,"wicket5i":0,"wicket10m":0,"hattrick":0,"expensive_over_runs":0},"t10":{"match_id":"0","inning_id":"0","matches":"10","innings":"9","balls":"96","overs":"16","runs":"151","wickets":"6","bestinning":"2\/14","bestmatch":"2\/14","econ":"9.44","average":"25.17","strike":"16.00","wicket4i":"0","wicket5i":"0","wicket10m":"0"}}},"etag":"0ae462512f6baabc4e25b040f0b766d6","modified":"2025-06-23 17:51:47","datetime":"2025-06-23 17:51:47","api_version":"3.0"}', GetDate() , 0,'') END ELSE BEGIN Update api_Data Set Json = '{"status":"ok","response":{"player":{"pid":117953,"title":"Junior Sinclair","short_name":"JA Sinclair","first_name":"Junior Sinclair","last_name":"","middle_name":"","birthdate":"2001-02-28","birthplace":"","country":"wi","primary_team":[],"logo_url":"","playing_role":"bowl","batting_style":"Right Hand Bat","bowling_style":"Right Arm Off Break","fielding_position":"","recent_match":0,"recent_appearance":0,"fantasy_player_rating":8.5,"facebook_profile":"","twitter_profile":"","instagram_profile":"","debut_data":"","thumb_url":"","nationality":"West Indies"},"batting":{"t20":{"match_id":0,"inning_id":0,"matches":17,"innings":6,"notout":5,"runs":45,"balls":36,"highest":14,"run100":0,"run50":0,"run4":4,"run6":2,"average":"45.00","strike":"125.00","catches":4,"stumpings":0,"fastest50balls":0,"fastest100balls":0},"lista":{"match_id":0,"inning_id":0,"matches":6,"innings":3,"notout":0,"runs":55,"balls":43,"highest":35,"run100":0,"run50":0,"run4":3,"run6":4,"average":"18.33","strike":"127.90","catches":1,"stumpings":0,"fastest50balls":0,"fastest100balls":0},"t10":{"match_id":"0","inning_id":"0","matches":"10","innings":"9","notout":"0","runs":"139","balls":"82","highest":"38","run100":"0","run50":"0","run4":"8","run6":"11","average":"15.44","strike":"169.51","catches":"3","stumpings":"0"}},"bowling":{"t20":{"match_id":0,"inning_id":0,"matches":17,"innings":14,"balls":204,"overs":34,"runs":270,"wickets":9,"bestinning":"2\/12","bestmatch":"2\/12","econ":"7.94","average":"30.00","strike":"22.6","wicket4i":0,"wicket5i":0,"wicket10m":0,"hattrick":0,"expensive_over_runs":0},"lista":{"match_id":0,"inning_id":0,"matches":6,"innings":6,"balls":222,"overs":37,"runs":167,"wickets":3,"bestinning":"3\/40","bestmatch":"3\/40","econ":"4.51","average":"55.66","strike":"74.0","wicket4i":0,"wicket5i":0,"wicket10m":0,"hattrick":0,"expensive_over_runs":0},"t10":{"match_id":"0","inning_id":"0","matches":"10","innings":"9","balls":"96","overs":"16","runs":"151","wickets":"6","bestinning":"2\/14","bestmatch":"2\/14","econ":"9.44","average":"25.17","strike":"16.00","wicket4i":"0","wicket5i":"0","wicket10m":"0"}}},"etag":"0ae462512f6baabc4e25b040f0b766d6","modified":"2025-06-23 17:51:47","datetime":"2025-06-23 17:51:47","api_version":"3.0"}', Modified = GetDate() WHERE Id = 117953 AND DataTypeId = 6 END
Player profile of Junior Sinclair, West Indies
<>
CricDirect Cricket News, Results and Stats
 

Junior Sinclair

NationalityWest Indies
RoleBowler
Born28 Feb 2001 (24)
Batting StyleRight Hand Bat
Bowling StyleRight Arm Off Break

Batting

Format MAT INNS NO RUNS HS AVG BF SR 100s 50s
T20I 17 6 5 45 14 45.00 36 125.00 - -
List A 6 3 - 55 35 18.33 43 127.90 - -

Bowling

Format MAT INNS OVR RUNS WK BBI AVG ECN SR 4W 5W
T20 17 14 34 270 9 2/12 30.00 7.94 22.6 - -
List A 6 6 37 167 3 3/40 55.66 4.51 74.0 - -
× Close